import request from '@/utils/request'

// 列表
export function list(query) {
  return request({
      url: '/admin/comment/list',
      method: 'get',
      params: query
  });
}
// 删除
export function remove(ids) {
  return request({
    url: '/admin/comment/' + ids,
    method: 'delete'
  })
}
// 通过
export function pass(id) {
  return request({
    url: '/admin/comment/' + id,
    method: 'put'
  })
}
